home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Information / CSMP Digest / volume 1 / csmp-v1-103.txt < prev    next >
Encoding:
Text File  |  1994-12-08  |  42.7 KB  |  1,053 lines  |  [TEXT/R*ch]

  1. C.S.M.P. Digest             Thu, 04 Jun 92       Volume 1 : Issue 103
  2.  
  3. Today's Topics:
  4.  
  5.     C vs. OOP
  6.     anyone used macrecorder or built-in mic on PB?
  7.     OOP development of GUIs on a Macintosh
  8.     Is AppMaker worth the disks it is distributed on???
  9.     MacinTalk and Voice Synthesis (a missing piece)
  10.     compression/decompression source code wanted
  11.     Decompressing .LZH files?
  12.     Program crashing with TuneUp 1.1.1
  13.  
  14.  
  15. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  16.  
  17. These digests are available (by using FTP, account anonymous, your email
  18. address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon.
  19. edu.  This is also the home of the comp.sys.mac.programmer Frequently Asked
  20. Questions list.  The last several issues of the digest are available from
  21. sumex-aim.stanford.edu as well.
  22.  
  23. These digests are also available via email.  Just send a note saying that you
  24. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  25. automatically receive each new digest as it is created.
  26.  
  27. The digest is a collection of articles from the internet newsgroup comp.sys.
  28. mac.programmer.  It is designed for people who read c.s.m.p. semi-regularly
  29. and want an archive of the discussions.  If you don't know what a newsgroup
  30. is, you probably don't have access to it.  Ask your systems administrator(s)
  31. for details.  (This means you can't post questions to the digest.)
  32.  
  33. The articles in these digests are taken directly from comp.sys.mac.programmer.
  34. They are not edited; all articles included in this digest are in their original
  35. posted form.  The only articles that are -not- included in these digests are
  36. those which didn't receive any replies (except those that give information
  37. rather than ask a question).  All replies to each article are concatenated
  38. onto the original article in the order in which they were received.  Article
  39. threads are not added to the digests until the last article added to the
  40. thread is at least one month old (this is to ensure that the thread is dead
  41. before adding it to the digests).
  42.  
  43. Send administrative mail to mkelly@cs.uoregon.edu.
  44.  
  45. -------------------------------------------------------
  46.  
  47. From: kfischer@mesa.llnl.gov (K. Fischer)
  48. Subject: C vs. OOP
  49. Date: 28 Apr 92 15:58:13 GMT
  50. Organization: LLNL
  51.  
  52. Hi,
  53. Forgive me if this is a stupid question, but I just purchased Think C
  54. 5.0.2 last week
  55. and have been glancing at the OOP stuff -- looks pretty nifty --  BUT
  56. ...
  57. I noticed there was no information about the speed of OOP code vs.
  58. 'normal'  C.  If I decided to write a program that uses some graphics,
  59. would I be better of (speed wise) using one or the other?
  60.  
  61. Thanks,
  62. Kathleen
  63.  
  64. - --
  65. Kathleen Fischer
  66. Lawrence Livermore National Lab
  67. kfischer@mesa.llnl.gov
  68.  
  69. Disclaimer:  These are my words -- my employer had nothing to do with
  70. them.
  71.  
  72. "The man who smiles when things go wrong,
  73.  has thought of someone he can blame it on"
  74.                            -- Unknown
  75.  
  76. +++++++++++++++++++++++++++
  77.  
  78. From: neeri@iis.ethz.ch (Matthias Ulrich Neeracher)
  79. Organization: Integrated Systems Laboratory, ETH, Zurich
  80. Date: Tue, 28 Apr 1992 19:08:14 GMT
  81.  
  82. In article <123878@lll-winken.LLNL.GOV> kfischer@mesa.llnl.gov (K. Fischer) writes:
  83. >Hi,
  84. >Forgive me if this is a stupid question, but I just purchased Think C
  85. >5.0.2 last week
  86. >and have been glancing at the OOP stuff -- looks pretty nifty --  BUT
  87. >...
  88. >I noticed there was no information about the speed of OOP code vs.
  89. >'normal'  C.  If I decided to write a program that uses some graphics,
  90. >would I be better of (speed wise) using one or the other?
  91.  
  92. If you are trained in both, you'll probably write the OOP code slightly faster
  93. than the non-OOP one (considerably faster for large programs).
  94.  
  95. In case your question was about *run time* :-), I'd estimate the cost of an OOP
  96. message call to be less than twice the cost of a normal procedure call, and the
  97. relative cost of these is not that prohibitive to begin with. I wouldn't worry
  98. too much if I were you.
  99.  
  100. Matthias
  101.  
  102. - -----
  103. Matthias Neeracher                                   neeri@iis.ethz.ch
  104.    "Have you heard of the new Cambridge compilers ? They distribute
  105.     gear-wear much more evenly"
  106.         -- William Gibson/Bruce Sterling, _The Difference Engine_
  107.  
  108.  
  109. +++++++++++++++++++++++++++
  110.  
  111. From: cory@enigami.mv.com (Cory Kempf)
  112. Date: 30 Apr 92 04:08:26 GMT
  113. Organization: EnigamI, Inc., Nashua, NH
  114.  
  115.  
  116. In article <123878@lll-winken.LLNL.GOV> (comp.sys.mac.programmer), kfischer@mesa.llnl.gov (K. Fischer) writes:
  117. >Hi,
  118. >Forgive me if this is a stupid question, but I just purchased Think C
  119. >5.0.2 last week
  120. >and have been glancing at the OOP stuff -- looks pretty nifty --  BUT
  121. >I noticed there was no information about the speed of OOP code vs.
  122. >'normal'  C.  If I decided to write a program that uses some graphics,
  123. >would I be better of (speed wise) using one or the other?
  124.  
  125. I can't say for sure about Think C, as I don't use it.  However, Good
  126. C++ code is usually a smidge faster than good C code.  The reason
  127. for this is that virtual functions are somewhat faster than switch
  128. statements + function calls.
  129.  
  130. Your development time, and maintenence time should be much reduced,
  131. but your planning / design time should be much longer.  In the end,
  132. oop is a big win in the development time though.  That extra time
  133. spent in planning tends to pay off big time.
  134.  
  135. HOWEVER, you really need to understand oop to get any benefit out
  136. of it.  It is really a very different style of coding.
  137.  
  138. +C
  139.  
  140.  
  141. - -------------------------------------------------------------
  142. Cory Kempf                    EnigamI, Inc.
  143. cory@enigami.mv.com           ...!decvax!enigami!cory
  144. Microsoft Free and Proud Of It!... 
  145.                            ...Microsoft Products: Just Say no.
  146.  
  147. ---------------------------
  148.  
  149. From: delphi@media-lab.media.mit.edu (Andrew J. Kass)
  150. Subject: anyone used macrecorder or built-in mic on PB?
  151. Date: 30 Apr 92 20:53:45 GMT
  152. Organization: M.I.T. Media Laboratory
  153.  
  154. We are having a problem using the MacRecorder on a PB170. When trying to record with SoundEdit 2.0.5 and MacRecorder driver 1.0.2, after clicking the record button, there is no way to stop recording until the time allocated is up. Cmd-opt-esc doesn't even work (which means that keyboard interrupts are disabled for some reason). In addition, when we try recording sound using our own software, the sounds are garbled and have clicks in them.
  155.  
  156. We are using the MacRecorder because using the built in driver causes the system to hang sometimes when calling SetUpAIFFHeader. Anyone ever heard of that?
  157.  
  158. Please respond by email. Thanks
  159.  
  160. Andrew Kass
  161. Speech Research Group
  162. MIT Media Laboratory
  163. delphi@media-lab.media.mit.edu
  164.  
  165. +++++++++++++++++++++++++++
  166.  
  167. From: jmunkki@hila.hut.fi (Juri Munkki)
  168. Organization: Helsinki University of Technology, Finland
  169. Date: Fri, 1 May 1992 19:24:46 GMT
  170.  
  171. In article <1992Apr30.205345.2624@news.media.mit.edu> delphi@media-lab.media.mit.edu (Andrew J. Kass) writes:
  172. >We are having a problem using the MacRecorder on a PB170. When trying
  173. >to record with SoundEdit 2.0.5 and MacRecorder driver 1.0.2, after
  174. >clicking the record button, there is no way to stop recording until the
  175. >time allocated is up. Cmd-opt-esc doesn't even
  176. >work (which means that keyboard interrupts are disabled for some
  177. >reason). In addition, when we try recording sound using our own
  178. >software, the sounds are garbled and have clicks in them.
  179.  
  180. The MacRecorder and compatible devices use the serial port for
  181. reading the A/D converted. This means that the CPU has to read
  182. about 176k bps, which is pretty close to LocalTalk speeds. To
  183. read the serial port at that speed, the computer has to stay in
  184. a tight loop with interrupts disabled. So the CPU is just polling
  185. the sound hardware in a busy loop.
  186.  
  187. I don't have the MacRecorder driver, so I have just been assuming
  188. that it doesn't support asynchronous sound input, because the
  189. interrupt frequency would be incredible and eat up all the CPU
  190. and it still might not work. So, can comeone confirm my guess
  191. that the MacRecorder driver doesn't work asynchronously?
  192.  
  193. The garbledness and clicks might be because the driver misses
  194. a few samples now and then. It could also indicate a problem
  195. with your software.
  196.  
  197. The built-in sound input hardware is a totally different beast.
  198. It seems to use a 512 byte in the sound chip. This means that
  199. the CPU only has to process those 512 samples 44 timer per second.
  200. This leaves plenty of time for handling other things.
  201.  
  202. >We are using the MacRecorder because using the built in driver causes
  203. >the system to hang sometimes when calling SetUpAIFFHeader. Anyone ever
  204. >heard of that?
  205.  
  206. I haven't used SetUpAIFFHeader. In fact, my program doesn't keep the
  207. sound data around, since it analyzes it in the sound interupt routine.
  208.  
  209. They must have tested SetUpAIFFHeader and some programs must be using
  210. it, so rather than trying to make the brain-dead MacRecorder work, I
  211. would try to figure out what goes wrong with the internal sound
  212. driver.
  213.  
  214.    ____________________________________________________________________________
  215.   / Juri Munkki        /  Helsinki University of Technology   /  Wind  / Project /
  216.  / jmunkki@hut.fi  /  Computing Center Macintosh Support  /  Surf  / Arashi  /
  217.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  218.  
  219. +++++++++++++++++++++++++++
  220.  
  221. From: delphi@media-lab.media.mit.edu (Andrew J. Kass)
  222. Date: 3 May 92 02:00:24 GMT
  223. Organization: M.I.T. Media Laboratory
  224.  
  225. In article <1992May1.192446.29738@nntp.hut.fi>, jmunkki@hila.hut.fi (Juri Munkki) writes:
  226. |> In article <1992Apr30.205345.2624@news.media.mit.edu> delphi@media-lab.media.mit.edu (Andrew J. Kass) writes:
  227. |> >We are having a problem using the MacRecorder on a PB170. When trying
  228. |> >to record with SoundEdit 2.0.5 and MacRecorder driver 1.0.2, after
  229. |> >clicking the record button, there is no way to stop recording until the
  230. |> >time allocated is up. Cmd-opt-esc doesn't even
  231. |> >work (which means that keyboard interrupts are disabled for some
  232. |> >reason). In addition, when we try recording sound using our own
  233. |> >software, the sounds are garbled and have clicks in them.
  234. |> 
  235. |> The MacRecorder and compatible devices use the serial port for
  236. |> reading the A/D converted. This means that the CPU has to read
  237. |> about 176k bps, which is pretty close to LocalTalk speeds. To
  238. |> read the serial port at that speed, the computer has to stay in
  239. |> a tight loop with interrupts disabled. So the CPU is just polling
  240. |> the sound hardware in a busy loop.
  241.  
  242. Well, this is not true. First of all, the MacRecorder has a 192 byte internal buffer, and secondly, the i/o is buffered. Not to mention that as far as CPU speeds go, 176 bits per sec is EXTREMELY slow... besides, if you try recording with soundedit on anything other than a PowerBook, it works fine (click the mouse any time after you begin recording to stop it). Interrupts are not normally disabled. A 25Mhz processor looks at 176 khz and laughs...
  243.  
  244. |> 
  245. |> I don't have the MacRecorder driver, so I have just been assuming
  246. |> that it doesn't support asynchronous sound input, because the
  247. |> interrupt frequency would be incredible and eat up all the CPU
  248. |> and it still might not work. So, can comeone confirm my guess
  249. |> that the MacRecorder driver doesn't work asynchronously?
  250.  
  251. The MacRecorder driver itself is not asynchronous. However, the normal macintosh toolbox calls are. Besides, SoundEdit doesn't even work through the drivers I think.. it goes for the serial port or sound chip directly...
  252.  
  253. |> 
  254. |> The garbledness and clicks might be because the driver misses
  255. |> a few samples now and then. It could also indicate a problem
  256. |> with your software.
  257.  
  258. I have heard of PBs dropping data at speeds over 9600 baud, but this type of distortion doesn't sound like that.
  259.  
  260. |> 
  261. |> The built-in sound input hardware is a totally different beast.
  262. |> It seems to use a 512 byte in the sound chip. This means that
  263. |> the CPU only has to process those 512 samples 44 timer per second.
  264. |> This leaves plenty of time for handling other things.
  265. |> 
  266. |> >We are using the MacRecorder because using the built in driver causes
  267. |> >the system to hang sometimes when calling SetUpAIFFHeader. Anyone ever
  268. |> >heard of that?
  269. |> 
  270. |> I haven't used SetUpAIFFHeader. In fact, my program doesn't keep the
  271. |> sound data around, since it analyzes it in the sound interupt routine.
  272. |> 
  273. |> They must have tested SetUpAIFFHeader and some programs must be using
  274. |> it, so rather than trying to make the brain-dead MacRecorder work, I
  275. |> would try to figure out what goes wrong with the internal sound
  276. |> driver.
  277. |> 
  278.  
  279. We already sent a letter to Apple DTS telling them about the problem, along with a small segment of code that demonstrates the problem. I was just wondering if anyone else has seen or heard of anything like this. Believe me, we have no desire or intention of continuing to use the MacRecorder... we just can't use the built in if SetUpAIFF fails...
  280.  
  281. |>    ____________________________________________________________________________
  282. |>   / Juri Munkki        /  Helsinki University of Technology   /  Wind  / Project /
  283. |>  / jmunkki@hut.fi  /  Computing Center Macintosh Support  /  Surf  / Arashi  /
  284. |>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  285.  
  286. Andrew Kass
  287. Speech Research Group
  288. delphi@media-lab.media.mit.edu
  289.  
  290. +++++++++++++++++++++++++++
  291.  
  292. From: jmunkki@hila.hut.fi (Juri Munkki)
  293. Date: 3 May 92 18:28:52 GMT
  294. Organization: Helsinki University of Technology, Finland
  295.  
  296. In article <1992May3.020024.19287@news.media.mit.edu> delphi@media-lab.media.mit.edu (Andrew J. Kass) writes:
  297. >Well, this is not true. First of all, the MacRecorder has a 192 byte
  298. >internal buffer, and secondly, the i/o is buffered. Not to mention that
  299. >as far as CPU speeds go, 176 bits per sec is EXTREMELY slow... besides,
  300. >if you try recording with soundedit on any thing other than a
  301. >PowerBook, it works fine (click the mouse any time after you begin
  302. >recording to stop it). Interrupts are not normally disabled. A 25Mhz
  303. >processor looks at 176 khz and laughs...  >
  304.  
  305. All the MacRecorder code that I have ever seen switches off interrupts
  306. and runs in a tight loop. This might be because the MacRecorder is
  307. compatible with older devices like the MacNifty and SID-variants.
  308. These older devices don't have any internal buffering, since they
  309. are basically serial A/D-converters. Even the bits come out reversed
  310. (LSB first).
  311.  
  312. If a 25Mhz processor laughs at 176khz, then why does LocalTalk have
  313. to receive data a packet at a time in a loop that disables interrupts?
  314.  
  315. I wrote:
  316. >|> I don't have the MacRecorder driver, so I have just been assuming
  317. >|> that it doesn't support asynchronous sound input, because the
  318. >|> interrupt frequency would be incredible and eat up all the CPU
  319. >|> and it still might not work. So, can comeone confirm my guess
  320. >|> that the MacRecorder driver doesn't work asynchronously?
  321. >
  322. >The MacRecorder driver itself is not asynchronous. However, the normal
  323. >macintosh toolbox calls are. Besides, SoundEdit doesn't even work
  324. >through the drivers I think.. it goes for the serial port or sound chip
  325. >directly...
  326.  
  327. So what are you saying? I'm talking about the System 7.0 sound recording
  328. calls as documented in Inside Macintosh VI. SoundEdit has nothing to do
  329. with this. I don't think that SoundEdit would be so badly written that
  330. it would use the sound chip directly. The older versions certainly use
  331. the serial port directly, since that was the only way to input sound.
  332. Of course there's no way to use the serial driver to input sounds.
  333.  
  334. My question was and still is: There's a System 7.0 compatible sound
  335. input driver for the MacRecorder. Does it support asynchronous recording?
  336. The first sentence makes sense to me, but why do you then write about
  337. toolbox calls and SoundEdit. This has nothing to do with them.
  338.  
  339. >|> The garbledness and clicks might be because the driver misses
  340. >|> a few samples now and then. It could also indicate a problem
  341. >|> with your software.
  342. >
  343. >I have heard of PBs dropping data at speeds over 9600 baud, but this
  344. >type of distortion doesn't sound like that.
  345.  
  346. The PB140/170 data dropping is caused by the power saver that disables
  347. interrupts. At 9600 bps, about 20-30 characters are lost. At the speeds
  348. at which the serial sound input devices are read, potentially 20 times
  349. more data will be lost (unless the MacRecorder holds it in its internal
  350. buffer, of which I have never heard before).
  351.  
  352. >We already sent a letter to Apple DTS telling them about the problem,
  353. >along with a small segment of code that demonstrates the problem. I was
  354. >just wondering if anyone else has seen or heard of anything like this.
  355. >Believe me, we have no desire or intention of continuing to use the
  356. >MacRecorder... we just can't use the built in if SetUpAIFF fails...
  357.  
  358. I'm sorry to have wasted your time. I'm sorry I wasted my time giving
  359. you some kind of answer.
  360.  
  361. You could also try to learn to hit return now and then. I hate to waste
  362. my time formatting other people's articles. Not all of us have screens
  363. that are 256 characters wide.
  364.  
  365.    ____________________________________________________________________________
  366.   / Juri Munkki        /  Helsinki University of Technology   /  Wind  / Project /
  367.  / jmunkki@hut.fi  /  Computing Center Macintosh Support  /  Surf  / Arashi  /
  368.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  369.  
  370. ---------------------------
  371.  
  372. From: dmg@ssc-vax.uucp (David M Geary)
  373. Subject: OOP development of GUIs on a Macintosh
  374. Date: 22 Apr 92 17:36:03 GMT
  375. Organization: Boeing Aerospace & Electronics
  376.  
  377.  
  378. NOTE:  Please respond via email - our newsfeed is way behind.
  379.        Thanks.
  380.  
  381.   I may soon have the opportunity to develop a GUI on a Mac. 
  382. I would much prefer to use an OOP language, but I have no
  383. idea what is available on the Mac.  Some questions:
  384.  
  385. 1.  What are my choices concerning C++?
  386.  
  387. 2.  Are there any GUI "builders", such as those that exist for X
  388.     for the MAC.
  389.  
  390. 3.  Are there any C++ class libraries available for GUIs?
  391.  
  392. 4.  What about smalltalk?  
  393.  
  394.   I realize that smalltalk would probably be the easiest way to
  395. get an OOP GUI up and running, but it may not be Politically
  396. Correct to do so.  Therefore, I am interested in hearing about
  397. the possibilities of using C++.
  398.  
  399.     
  400. - -- 
  401. |...............  David Geary, Boeing Aerospace, Seattle, WA. ................| 
  402. |-----------------------------------------------------------------------------|
  403. |     Seattle:  America's most attractive city   ...   to the *jetstream*     |
  404. |-----------------------------------------------------------------------------|
  405.  
  406. +++++++++++++++++++++++++++
  407.  
  408. From: shall@yoda.eecs.wsu.edu (Sean Hall - CS460)
  409. Date: 23 Apr 92 05:23:23 GMT
  410. Organization: Washington State University
  411.  
  412. In article <5183@ssc-bee.ssc-vax.boeing.com> dmg@ssc-vax.uucp (David M Geary) writes:
  413. >
  414. >NOTE:  Please respond via email - our newsfeed is way behind.
  415. >       Thanks.
  416. >
  417. >  I may soon have the opportunity to develop a GUI on a Mac. 
  418. >I would much prefer to use an OOP language, but I have no
  419. >idea what is available on the Mac.  Some questions:
  420. >
  421. >1.  What are my choices concerning C++?
  422. >
  423. >2.  Are there any GUI "builders", such as those that exist for X
  424. >    for the MAC.
  425. >
  426. >3.  Are there any C++ class libraries available for GUIs?
  427. >
  428. >4.  What about smalltalk?  
  429. >
  430. >  I realize that smalltalk would probably be the easiest way to
  431. >get an OOP GUI up and running, but it may not be Politically
  432. >Correct to do so.  Therefore, I am interested in hearing about
  433. >the possibilities of using C++.
  434.  
  435.    So what you are really asking is if an OOP GUI is PC and should it
  436.    be done in C++, TCL or MPW?  Sounds like youve been working on
  437.    military projects too long. (:\>
  438. >
  439. >    
  440. >-- 
  441. >|...............  David Geary, Boeing Aerospace, Seattle, WA. ................| 
  442. >|-----------------------------------------------------------------------------|
  443. >|     Seattle:  America's most attractive city   ...   to the *jetstream*     |
  444. >|-----------------------------------------------------------------------------|
  445.  
  446. +++++++++++++++++++++++++++
  447.  
  448. From: sch@mitre.org (Stu Schaffner)
  449. Organization: MITRE Corp.
  450. Date: Thu, 23 Apr 1992 16:22:12 GMT
  451.  
  452. In article <5183@ssc-bee.ssc-vax.boeing.com>, dmg@ssc-vax.uucp (David M Geary) writes:
  453. > NOTE:  Please respond via email - our newsfeed is way behind.
  454. >        Thanks.
  455. >   I may soon have the opportunity to develop a GUI on a Mac. 
  456. > I would much prefer to use an OOP language, but I have no
  457. > idea what is available on the Mac.  Some questions:
  458. > 1.  What are my choices concerning C++?
  459. > 2.  Are there any GUI "builders", such as those that exist for X
  460. >     for the MAC.
  461. > 3.  Are there any C++ class libraries available for GUIs?
  462. > 4.  What about smalltalk?  
  463.  
  464. Take a good look at MacApp.  It is an object-oriented application framework
  465. with C++ and Object Pascal bindings. IMHO it makes most GUI builders for
  466. X Windows look pretty pathetic, or at least pretty overpriced. Couple it
  467. with MPW, the ObjectMaster class-browser/structured-editor from ACIUS, and
  468. with the IcePick widget layout tool from KPMG.EXIS and you have an interesting
  469. development system. MacApp is an Apple product and is being used to build
  470. a large number of industrial-strength products both within Apple and by
  471. outside commercial enterprises. A port to MS Windows is promised soon.
  472.  
  473. As for Political Correctness, let's face it:  none of these languages
  474. are Ada!  Seriously, not only are there good SmallTalk systems available
  475. for the Mac, but there is a CLOS system that is reputed to be good. A lot
  476. of the Apple research mavens use it.
  477.  
  478. Stu Schaffner, not speaking for
  479. The MITRE Corp.
  480. sch@mitre.org
  481.  
  482. +++++++++++++++++++++++++++
  483.  
  484. From: steve@oceania.com (Steve Dakin)
  485. Organization: Oceania Health Care Systems
  486. Date: Thu, 23 Apr 92 16:22:12 GMT
  487.  
  488. In article <5183@ssc-bee.ssc-vax.boeing.com> dmg@ssc-vax.uucp (David M Geary)  
  489. writes:
  490.  
  491. >   I may soon have the opportunity to develop a GUI on a Mac. 
  492. > I would much prefer to use an OOP language, but I have no
  493. > idea what is available on the Mac.  Some questions:
  494. > 1.  What are my choices concerning C++?
  495. > 2.  Are there any GUI "builders", such as those that exist for X
  496. >     for the MAC.
  497. > 3.  Are there any C++ class libraries available for GUIs?
  498. > 4.  What about smalltalk?  
  499. >   I realize that smalltalk would probably be the easiest way to
  500. > get an OOP GUI up and running, but it may not be Politically
  501. > Correct to do so.  Therefore, I am interested in hearing about
  502. > the possibilities of using C++.
  503.  
  504. Well, this response doesn't exactly answer your questions about C++, but I'd  
  505. like to suggest that you check out Objective-C for the Mac.  It is a 100%  
  506. object-oriented C language (unlike C++) based on Smalltalk.  I have found it be  
  507. the most elegant, and easy to use object oriented language I have tried (and  
  508. I've tried many).  If you want more info, call Sarah Bell at Stepstone.  Her  
  509. number is: 1-800-289-6253.
  510.  
  511. I am currently working on a set of GUI objects in Objective-C that I plan to  
  512. use in all my future programs.
  513.  
  514. NOTE: I am in no way affiliated with Stepstone other than a very satisfied  
  515. customer.
  516.  
  517. Steve
  518.  
  519. +++++++++++++++++++++++++++
  520.  
  521. From: e-sink@uiuc.edu (Eric W. Sink)
  522. Organization: University of Illinois at Urbana-Champaign
  523. Date: Thu, 23 Apr 1992 18:19:00 GMT
  524.  
  525. In <1992Apr23.162212.3220@oceania.com> steve@oceania.com (Steve Dakin) writes:
  526.  
  527. >Well, this response doesn't exactly answer your questions about C++, but I'd  
  528. >like to suggest that you check out Objective-C for the Mac.  It is a 100%  
  529. >object-oriented C language (unlike C++) based on Smalltalk.
  530.  
  531. This is ridiculous.  I like Objective-C a lot myself, but:
  532.  
  533. 1.  "100% object-oriented C language" is a contradiction in terms
  534. 2.  There is nothing any more object-oriented about Objective-C than
  535.     C++.
  536. 3.  Saying that Objective-C is 100% object oriented is blatantly incorrect,
  537.     not to mention ill-defined.
  538.  
  539. - -- 
  540. Eric W. Sink, USACERL         | The essence of GUI programming : "What
  541. Box 9005, Champaign, IL       | started out as a half hour hack has been
  542. 61826-9005 1-800-USA-CERLx449 | bothering me for two weeks now." -- Matt Mora
  543. - ---- e-sink@uiuc.edu ---------|
  544.  
  545. +++++++++++++++++++++++++++
  546.  
  547. From: ksand@apple.com (Kent Sandvik)
  548. Date: 26 Apr 92 00:40:08 GMT
  549. Organization: MacDTS Mongols
  550.  
  551. In article <1992Apr23.162212.10320@linus.mitre.org>, sch@mitre.org (Stu
  552. Schaffner) writes:
  553. > As for Political Correctness, let's face it:  none of these languages
  554. > are Ada!  Seriously, not only are there good SmallTalk systems available
  555. > for the Mac, but there is a CLOS system that is reputed to be good. A lot
  556. > of the Apple research mavens use it.
  557.  
  558. Yes, Macintosh Common Lisp is $495, and that's really cheap for a full
  559. Common Lisp implementation with CLOS (not all of MOP is yet supported),
  560. as well as CLOS class libraries for some of the MacOS managers. 
  561.  
  562. And yes, Apple Advanced Reseach uses MCL a lot for prototyping of their
  563. wildest ideas.
  564.  
  565. Cheers,
  566. Kent
  567.  
  568. +++++++++++++++++++++++++++
  569.  
  570. From: ksand@apple.com (Kent Sandvik)
  571. Date: 26 Apr 92 00:42:05 GMT
  572. Organization: MacDTS Mongols
  573.  
  574. In article <1992Apr23.181900.11233@sunb10.cs.uiuc.edu>, e-sink@uiuc.edu (Eric W.
  575. Sink) writes:
  576. > In <1992Apr23.162212.3220@oceania.com> steve@oceania.com (Steve Dakin) writes:
  577. > >Well, this response doesn't exactly answer your questions about C++, but I'd 
  578.  
  579. > >like to suggest that you check out Objective-C for the Mac.  It is a 100%  
  580. > >object-oriented C language (unlike C++) based on Smalltalk.
  581. > This is ridiculous.  I like Objective-C a lot myself, but:
  582. > 1.  "100% object-oriented C language" is a contradiction in terms
  583. > 2.  There is nothing any more object-oriented about Objective-C than
  584. >     C++.
  585. > 3.  Saying that Objective-C is 100% object oriented is blatantly incorrect,
  586. >     not to mention ill-defined.
  587.  
  588. Objective C does have dynamic binding, but as Eric stated, it's hard
  589. nowdays to define what OOP is exactly. Objects-in-C also provides dynamic
  590. binding, and why not take the step to SmallTalk/CLOS for a pure dynamic
  591. environment?
  592.  
  593. Cheers,
  594. Kent
  595.  
  596. +++++++++++++++++++++++++++
  597.  
  598. From: andrew@cubetech.com (Andrew Loewenstern)
  599. Date: 28 Apr 92 02:24:50 GMT
  600. Organization: Cube Technologies, Inc.
  601.  
  602. In article <1992Apr23.181900.11233@sunb10.cs.uiuc.edu> e-sink@uiuc.edu writes:
  603. >In <1992Apr23.162212.3220@oceania.com> steve@oceania.com (Steve Dakin) writes:
  604. >
  605. >>Well, this response doesn't exactly answer your questions about C++, but I'd  
  606. >>like to suggest that you check out Objective-C for the Mac.  It is a 100%  
  607. >>object-oriented C language (unlike C++) based on Smalltalk.
  608. >
  609. >This is ridiculous.  I like Objective-C a lot myself, but:
  610. >
  611. >1.  "100% object-oriented C language" is a contradiction in terms
  612. >2.  There is nothing any more object-oriented about Objective-C than
  613. >    C++.
  614. >3.  Saying that Objective-C is 100% object oriented is blatantly incorrect,
  615. >    not to mention ill-defined.
  616.  
  617. Objective-C offers runtime binding instead of C++'s static binding.  I
  618. use Obj-C on a NeXT and I'd kill myself without it.  Also, Objective-C
  619. is much much less complex and easier to use than C++.
  620.  
  621. The only OOP feature that Obj-C doesn't offer is
  622. multiple-inheiritance.  However, you can get around that with posing
  623. if you'd like.  I find it hard to classify C++ as a true OO language
  624. if it can't support runtime binding of objects.  Without that one
  625. feature you miss half of what OOP is all about.  If you don't think
  626. runtime binding is important or good, take a look at NeXT's Interface
  627. Builder (particularly the one in NeXTSTEP 3.0...).  Then take a look a
  628. UIM/X or any of the awful IBs for X from companies like Solbourne and
  629. IBM...
  630.  
  631. What's really funny is that C++'s complexity makes it difficult to
  632. reap the other benefit of OOP; easier development and maintinence of
  633. code.
  634.  
  635. Stepstone's product is excellent...  Also, gcc-2.0 has objective-c.
  636. As soon as the FSF finishes the runtime environment, it will be a good
  637. (free) alternative to Stepstone.  However, Stepstone's class library
  638. is pretty good (I really like the list class).
  639.  
  640.  
  641. andrew
  642. - -- 
  643. andrew@cubetech.com
  644. Andrew Loewenstern            |  "listen: there's a hell of a good universe
  645. Cube Technologies, Inc.       |   next door; let's go." --- e.e. cummings
  646.  
  647. +++++++++++++++++++++++++++
  648.  
  649. From: lsr@taligent.com (Larry Rosenstein)
  650. Date: 28 Apr 92 23:08:32 GMT
  651. Organization: Taligent, Inc.
  652.  
  653. In article <1992Apr28.022450.17289@cubetech.com>, andrew@cubetech.com (Andrew
  654. Loewenstern) wrote:
  655. > Objective-C offers runtime binding instead of C++'s static binding.  I
  656.  
  657. I think this terminology is confusing.  C++ has virtual method calls that are
  658. resolved dynamically at runtime.
  659.  
  660. Correct me if I'm wrong, but what Objective-C (as well as Smalltalk, CLOS, ...)
  661. has is untyped objects, which lets you send any message you want to an object. 
  662. Because there's no compile-time type checking, it's possible that the object
  663. will not understand the message.
  664.  
  665. The compile-time type checking also allows you to optimize the method
  666. dispatching a bit over what's available in Objective-C.  I think Objective-C
  667. also supports typed objects, which should be very similar to C++'s objects.  
  668.  
  669. If you look at MacApp, you'll see that it's possible to read and write objects
  670. to a stream, and with the dynamic linker facility that's in development (Dinker)
  671. you can add to classes to a program while it is running.  
  672.  
  673. > if you'd like.  I find it hard to classify C++ as a true OO language
  674.  
  675. There's always a debate about this.  If you accept Peter Wegner's definition of
  676. OO language, then C++ qualifies.
  677.  
  678. - -----
  679. Larry Rosenstein
  680. Taligent, Inc.
  681. lsr@taligent.com
  682.  
  683. +++++++++++++++++++++++++++
  684.  
  685. From: steve@oceania.com (Steve Dakin)
  686. Date: 1 May 92 22:08:09 GMT
  687. Organization: Oceania Health Care Systems
  688.  
  689. Let me begin by apologizing to Eric for calling Objective-C 100% object  
  690. oriented.  I should have been much more conservative in such a touchy subject  
  691. area.
  692.  
  693. In article <66227@apple.Apple.COM> lsr@taligent.com (Larry Rosenstein) writes:
  694. > Correct me if I'm wrong, but what Objective-C (as well as Smalltalk, CLOS...)
  695. > has is untyped objects, which lets you send any message you want to an 
  696. > object.  Because there's no compile-time type checking, it's possible that 
  697. > the object will not understand the message.
  698.  
  699. This is true.  To get around the problem of sending a message to an object that  
  700. doesn't respond to it, Objective-C offers the resondsTo: method which tells you  
  701. whether an object supports a particular method.
  702.  
  703. > The compile-time type checking also allows you to optimize the method
  704. > dispatching a bit over what's available in Objective-C.  I think Objective-C
  705. > also supports typed objects, which should be very similar to C++'s objects.  
  706.  
  707. If you specifically type an object in Objective-C, the compiler WILL inform you  
  708. if you try to send a message to an object that doesn't respond to it.
  709.  
  710. happy OOCing,
  711.  
  712. Steve
  713.  
  714. +++++++++++++++++++++++++++
  715.  
  716. From: andrew@cubetech.com (Andrew Loewenstern)
  717. Date: 1 May 92 03:23:40 GMT
  718. Organization: Cube Technologies, Inc.
  719.  
  720. In article <66227@apple.Apple.COM> lsr@taligent.com (Larry Rosenstein) writes:
  721.  
  722. >Correct me if I'm wrong, but what Objective-C (as well as Smalltalk, CLOS, ..)
  723. >has is untyped objects, which lets you send any message you want to an object 
  724. >Because there's no compile-time type checking, it's possible that the object
  725. >will not understand the message.
  726. >
  727. >The compile-time type checking also allows you to optimize the method
  728. >dispatching a bit over what's available in Objective-C.  I think Objective-C
  729. >also supports typed objects, which should be very similar to C++'s objects.  
  730.  
  731. Well, generally you use a generic type for objects called "id"  But
  732. you can use the type <classname>* for more robust type checking at
  733. compile-time.  I believe the the method lookup is still dynamic.
  734.  
  735. Objective-C's method dispatching isn't all that slow and if you need
  736. to call a method really really quickly in say a tight loop, you can
  737. get the actual function before you enter the loop to reduce the
  738. overehead.  NeXT has optimized the hell out of it though... If I
  739. remember correctly, they have gotten the message overhead to something
  740. like 7 instructions in NeXTSTEP 3.0.  Fairly impressive.  I'm not
  741. quite sure what the overhead is on Stepstone's Macintosh version.
  742. Probably no more than three times that of a normal c function-call.
  743.  
  744.  
  745. andrew
  746. - -- 
  747. andrew@cubetech.com
  748. Andrew Loewenstern            |  "listen: there's a hell of a good universe
  749. Cube Technologies, Inc.       |   next door; let's go." --- e.e. cummings
  750.  
  751. ---------------------------
  752.  
  753. From: stevens@sigi.cs.colorado.edu (Curt Stevens)
  754. Subject: Is AppMaker worth the disks it is distributed on???
  755. Date: 29 Apr 92 15:44:36 GMT
  756. Organization: University of Colorado, Boulder
  757.  
  758.  
  759. I have been developing using Macintish CommonLisp for some time and I
  760. will now be doing some Think C development. I was looking for tools to
  761. help development and I heard about AppMaker. Is this any good? Doe sit
  762. save any time? Does anyone use it? Are you laughing at me right now?
  763.  
  764. Thanks very much for any help and any additional information you can
  765. supply me with.
  766.  
  767. ========================================================================
  768. |Curt Stevens   (303) 492-1218 | / |arpa:stevens@sigi.cs.colorado.edu  |
  769. |Univ. of Colorado, Boulder    |o o|uucp:ncar!sigi.cs.colorado.edu!... |
  770. |Computer Sci. Dept. ECOT 7-7  | | |-----------------------------------|
  771. |Campus Box 430                |\_/| I contradict myself? Very well, I |
  772. |Boulder, Colorado 80309  USA  |   | contradict myself. - Walt Whitman |
  773. ========================================================================
  774. - -- 
  775.  
  776. ========
  777. | Curt |
  778. ========
  779.  
  780. +++++++++++++++++++++++++++
  781.  
  782. From: dent@DIALix.oz.au (Andrew Dent)
  783. Organization: DIALix Services, Perth, Western Australia
  784. Date: Sat, 02 May 92 11:40:56 GMT
  785.  
  786. I'm an AppMaker fan, particularly if you want to use the Think Class
  787. Library and also if you have complex screens.
  788.  
  789. It generates VERY nice code for multiple environments but TCL-based code
  790. is a lot easier for re-generation of code if you change things a lot (due
  791. to the separation of functions inherent in TCL vs procedural programming).
  792.  
  793.  
  794. I've also got MarksMan which has superior screen drawing and more screen
  795. objects but generates horrible code from an OOP point of view (it fails
  796. to use the TCL DoCommand hierarchy, for example).
  797.  
  798. AppMaker is completely template driven with a full template language so
  799. you can also customise its output.
  800.  
  801. Andy Dent (A.D. Software - Mac & VAX programming)
  802. 94 Bermuda Dve, BALLAJURA  Western Australia  6066
  803. Phone/Fax: 09 249 2719 (local)  +619 249 2719 (International)
  804.        Internet: dent@DIALix.oz.au    Compuserve: 100033,3241
  805.  
  806.  
  807. +++++++++++++++++++++++++++
  808.  
  809. From: tlt38517@uxa.cso.uiuc.edu (Terry Thiel)
  810. Date: 2 May 92 13:10:11 GMT
  811. Organization: University of Illinois at Urbana
  812.  
  813. Just for info you can buy Appmakers for an educational price of $149.
  814. Call Bowers Development at (508)369-8175 for details.  I think the average mail
  815. order price is $214 and the retail is $295.  I faxed them a purcahse oryMder and they shipped it the same day overnight mail.  Haven't looked at it yet so
  816. I can't give you any impressions of the product.  All the reviews I saw said
  817. it was the best one to get though.
  818. - -Terry
  819.  
  820. ---------------------------
  821.  
  822. From: rpizzi@Bonnie.ICS.UCI.EDU (Bob Pizzi)
  823. Subject: MacinTalk and Voice Synthesis (a missing piece)
  824. Date: 1 May 92 04:40:02 GMT
  825.  
  826. ..(cross posted in *.mac.system)..
  827.  
  828. In terms of Apple supporting system software across machines, they do a good
  829. job (IMHO), however, MacinTalk is not one of them.
  830.  
  831. According to my latest copy of APDA, Macintalk development package is
  832. a Class 3 restricted product.  As I interpret that, Apple does not want
  833. *us* developing any apps that use the Macintalk interface.  Is that *your*
  834. interpretation as well?
  835.  
  836. If, then Apple does not want MacinTalk perpetuated, is there a third
  837. party voice synthesis driver (MPW interface to it would be nice) that
  838. can be licenced??
  839.  
  840. I am writing up a proposal for development of an app for use with
  841. the visually impaired, and voice has been requested.  I am reluctant
  842. to use MacinTalk, and I am looking for alternatives.
  843.  
  844. - ------------------------------------------------------------------------------
  845. Bob Pizzi            | "Show skill..is as close as we got to that ultimate
  846. UC-Irvine            | mystery. I throw death aside. Death is not mysterious"
  847. Undergrad-ICS        |                 -- Katherine Dunn  "Geek Love"
  848. - ------------------------------------------------------------------------------
  849.  
  850. +++++++++++++++++++++++++++
  851.  
  852. From: delphi@media-lab.media.mit.edu (Andrew J. Kass)
  853. Organization: M.I.T. Media Laboratory
  854. Date: Sun, 3 May 1992 02:17:28 GMT
  855.  
  856. In article <9204302139.aa27040@Bonnie.ics.uci.edu>, rpizzi@Bonnie.ICS.UCI.EDU (Bob Pizzi) writes:
  857. |> ..(cross posted in *.mac.system)..
  858. |> 
  859. |> In terms of Apple supporting system software across machines, they do a good
  860. |> job (IMHO), however, MacinTalk is not one of them.
  861. |> 
  862. |> According to my latest copy of APDA, Macintalk development package is
  863. |> a Class 3 restricted product.  As I interpret that, Apple does not want
  864. |> *us* developing any apps that use the Macintalk interface.  Is that *your*
  865. |> interpretation as well?
  866. |> 
  867. |> If, then Apple does not want MacinTalk perpetuated, is there a third
  868. |> party voice synthesis driver (MPW interface to it would be nice) that
  869. |> can be licenced??
  870. |> 
  871. |> I am writing up a proposal for development of an app for use with
  872. |> the visually impaired, and voice has been requested.  I am reluctant
  873. |> to use MacinTalk, and I am looking for alternatives.
  874. |> 
  875. |> ------------------------------------------------------------------------------
  876. |> Bob Pizzi            | "Show skill..is as close as we got to that ultimate
  877. |> UC-Irvine            | mystery. I throw death aside. Death is not mysterious"
  878. |> Undergrad-ICS        |                 -- Katherine Dunn  "Geek Love"
  879. |> ------------------------------------------------------------------------------
  880.  
  881. Apple is almost ready to release (read wait a while) the.... long awaited TTS manager!! This is a replacement for MacinTalk. The problem was, Apple needed something fast for text to speech when the mac first came out. So they licensed this thing called MacinTalk from another company. The problem was, they licensed the binaries, not the code. So it could never be updated. Its a miracle it still even works! Apple has been working on its own version for quite a while. It sounds better than Macintalk, bu
  882.  
  883.  
  884.  
  885. quite as good as.. say a DecTalk. But it has that ability to speak different languages and use different voices. It's actually a very nice product.
  886.  
  887. Andrew Kass
  888. Speech Research Group
  889. delphi@media-lab.media.mit.edu
  890.  
  891. ---------------------------
  892.  
  893. From: paul@cthq.UUCP (Paul G. Smith)
  894. Subject: compression/decompression source code wanted
  895. Date: 30 Apr 92 14:37:01 GMT
  896. Organization: CommsTalk HQ
  897.  
  898. Hi folks,
  899.  
  900. Can anyone point me towards some example source code for compression/
  901. decompression of data? Preferably, an example of Lempel-Ziv that is in the
  902. public domain and free for modification and experimentation (the data I
  903. am fiddling with is not suitable for simple schemes like RLL encoding).
  904.  
  905. I don't have FTP access at present, btw.
  906.  
  907. best regards, Paul
  908.  
  909. - -------------------------------------
  910. Paul G Smith / CommsTalk HQ
  911. INTERNET:  "paul@cthq.uucp"            CIX:  "pgsmith"
  912. AppleLink: "commstalk.hq" ("commstalk.hq@applelink.apple.com")
  913. tel/fax:   + 44 491 574295  (dial 11 on 2nd dial tone for fax)
  914. snail:    40 St Marks Road, Henley-on-Thames, Oxon. RG9 1LW. UK
  915.  
  916. +++++++++++++++++++++++++++
  917.  
  918. From: gadde-syam@CS.YALE.EDU (Syam Gadde)
  919. Date: 30 Apr 92 17:37:19 GMT
  920. Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
  921.  
  922. Me, too.
  923.  
  924. Thanks,
  925.     -Syam
  926.  
  927. ---------------------------
  928.  
  929. From: skt@dcs.glasgow.ac.uk (Simon K. Train)
  930. Subject: Decompressing .LZH files?
  931. Date: 30 Apr 92 12:42:57 GMT
  932. Organization: Glasgow University Computing Science Dept.
  933.  
  934. Help me,
  935.  
  936.  Is there a Mac utility to decompress '.lzh' files? By '.lzh', I
  937. refer to Amiga compression type thingies.
  938.  Thanks (in advance).
  939.  
  940.  Sims 
  941.  
  942. - ---------------------
  943. Simon Train 
  944. skt@dcs.glasgow.ac.uk
  945. - ---------------------
  946.  
  947. +++++++++++++++++++++++++++
  948.  
  949. From: suwa@skunk.nri.co.jp (Shigeo Suwa)
  950. Date: 1 May 92 01:22:45 GMT
  951. Organization: Nomura Research Institute, Ltd.
  952.  
  953. In article <1992Apr30.124257.9061@dcs.glasgow.ac.uk> skt@dcs.glasgow.ac.uk (Simon K. Train) writes:
  954.  
  955. > Is there a Mac utility to decompress '.lzh' files? By '.lzh', I
  956. >refer to Amiga compression type thingies.
  957.  
  958. You can decompress '.lzh' files with MacLHA 2.00.
  959. MacLHA 2.00 was written by Mr. Kazuaki Ishizaki and it is found on
  960. BMUG's PD-ROM version A1 ("PD-ROM A1:Telcom:Compacting Programs:" folder).
  961. - -- 
  962. Shigeo Suwa (suwa@nri.co.jp)
  963. MIX:ssuwa   CompuServe:74100,350   NIFTY:PBA00350
  964.  
  965. +++++++++++++++++++++++++++
  966.  
  967. From: miyazaki@phoenix.Princeton.EDU (Takeshi Miyazaki)
  968. Date: 1 May 92 16:29:13 GMT
  969. Organization: Princeton University
  970.  
  971. In article <15674@skunk.nri.co.jp> suwa@skunk.nri.co.jp (Shigeo Suwa) writes:
  972. >You can decompress '.lzh' files with MacLHA 2.00.
  973. >MacLHA 2.00 was written by Mr. Kazuaki Ishizaki and it is found on
  974. >BMUG's PD-ROM version A1 ("PD-ROM A1:Telcom:Compacting Programs:" folder).
  975.  
  976. And also in sumex (probably util directory) and mac.archive.umich.edu
  977. (in mac/utilities/compressionapp directory.)
  978.  
  979. - -- 
  980. Takeshi Miyazaki (miyazaki@ee.princeton.edu)
  981.  
  982. ---------------------------
  983.  
  984. From: mcote@sw.stratus.com (Mike Cote)
  985. Subject: Program crashing with TuneUp 1.1.1
  986. Date: 30 Apr 92 16:18:27 GMT
  987. Organization: Stratus Computer, Inc.
  988.  
  989. I'm hoping that somebody reading this will be able to give me some direction to
  990. look in to find a particularly nasty bug.  I have a program that runs fine under
  991. System 6.0.7 and System 7.0 however under 7.0 with TuneUp 1.1.1 it crashes/hangs.
  992.  
  993. Tracking the crash down with Think-C and MacsBug I found that a call to CopyBits
  994. was writing all over memory.  I tried eyeballing all the parameters to CopyBits
  995. and they seem fine.  I thought that perhaps the heap was getting corrupted
  996. earlier but Macsbug says the heap is fine (using HC).
  997.  
  998. Anyone care to give an opinion on what might be happening?  I'm looking for
  999. anything that will get me looking in the right direction.
  1000.  
  1001. Thanks.
  1002.  
  1003. mpac
  1004.  
  1005. +++++++++++++++++++++++++++
  1006.  
  1007. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  1008. Date: 1 May 92 05:41:49 GMT
  1009. Organization: University of Waikato, Hamilton, New Zealand
  1010.  
  1011. In article <2632@transfer.stratus.com>, mcote@sw.stratus.com (Mike Cote) writes:
  1012. > I'm hoping that somebody reading this will be able to give me some direction to
  1013. > look in to find a particularly nasty bug.  I have a program that runs fine under
  1014. > System 6.0.7 and System 7.0 however under 7.0 with TuneUp 1.1.1 it crashes/hangs.
  1015. >
  1016. > Tracking the crash down with Think-C and MacsBug I found that a call to CopyBits
  1017. > was writing all over memory.  I tried eyeballing all the parameters to CopyBits
  1018. > and they seem fine.  I thought that perhaps the heap was getting corrupted
  1019. > earlier but Macsbug says the heap is fine (using HC).
  1020.  
  1021. My first instinct, when getting QuickDraw crashes, is to check that the
  1022. current GDevice is set correctly for drawing into the current port. I've had
  1023. some total freezeups through forgetting to do this. Are you doing off-screen
  1024. drawing, by any chance? If you're not, then this isn't the reason...
  1025.  
  1026. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  1027. Computer Services Dept                     fax: +64-7-838-4066
  1028. University of Waikato            electric mail: ldo@waikato.ac.nz
  1029. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
  1030.  
  1031. ---------------------------
  1032.  
  1033. End of C.S.M.P. Digest
  1034. **********************
  1035.